/*
 * Copyright 2005-2013 finalist.cn. All rights reserved.
 * Support: http://www.finalist.cn
 * License: http://www.finalist.cn/license
 */
package com.finalist.service.impl;

import java.math.BigDecimal;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;
import javax.persistence.LockModeType;

import net.sf.ehcache.CacheManager;
import net.sf.ehcache.Ehcache;
import net.sf.ehcache.Element;

import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.time.DateUtils;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.Assert;

import com.finalist.Filter;
import com.finalist.Order;
import com.finalist.Page;
import com.finalist.Pageable;
import com.finalist.dao.ProductDao;
import com.finalist.dao.ProductItemDao;
import com.finalist.entity.Attribute;
import com.finalist.entity.Brand;
import com.finalist.entity.Member;
import com.finalist.entity.Product;
import com.finalist.entity.ProductCategory;
import com.finalist.entity.ProductItem;
import com.finalist.entity.Promotion;
import com.finalist.entity.Tag;
import com.finalist.entity.Product.OrderType;
import com.finalist.entity.Product.RecommendType;
import com.finalist.service.ProductItemService;
import com.finalist.service.ProductService;
import com.finalist.service.StaticService;

/**
 * Service - 商品
 * 
 * @author Finalist IT Group
 * @version 3.0
 */
@Service("productItemServiceImpl")
public class ProductItemServiceImpl extends BaseServiceImpl<ProductItem, Long>
		implements ProductItemService {

	@Resource(name = "productItemDaoImpl")
	private ProductItemDao productItemDao;
	

	@Resource(name = "productItemDaoImpl")
	public void setBaseDao(ProductItemDao productItemDao) {
		super.setBaseDao(productItemDao);
	}

	

}